//
//  MMDownMenu.h
//
//  Created by song on 14-9-19.
//  Copyright (c) 2014年 Mx. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MMDownMenuDelegate <NSObject>
@optional
-(void)mmDownMenuDidSelectWithCol:(NSInteger)col withRow:(NSInteger)row;
@end


@interface MMDownMenu : UIView
@property(nonatomic,assign)id<MMDownMenuDelegate>delegate;

- (MMDownMenu *)initWithArray:(NSArray *)array selectedColor:(UIColor *)color withImages:(NSArray*)imageArray withSeImages:(NSArray*)seImageArray frame:(CGRect)frame;

@end


#pragma mark - CALayer Category
// CALayerCategory
@interface CALayer (MXAddAnimationAndValue)

- (void)addAnimation:(CAAnimation *)anim andValue:(NSValue *)value forKeyPath:(NSString *)keyPath;

@end